xen/xen
xen/xen-syms
xen/xen.*
+CRASH.txt
+linux-2.4.29-xen-sparse/arch/xen/kernel/foo.ps
+skiing-defaults2
+tools/libxc/xc_linux_restore.c.SMH
+tools/libxc/xc_linux_save.c.SMH
obj-y += console/
obj-y += evtchn/
obj-y += balloon/
+obj-y += privcmd/
-obj-$(CONFIG_XEN_PRIVILEGED_GUEST) += privcmd/
obj-$(CONFIG_XEN_BLKDEV_BACKEND) += blkback/
obj-$(CONFIG_XEN_NETDEV_BACKEND) += netback/
obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += blkfront/
unsigned int nr_doms;
u32 next_domid = first_domid;
dom0_op_t op;
+ int rc = 0;
for ( nr_doms = 0; nr_doms < max_doms; nr_doms++ )
{
op.u.getdomaininfo.domain = (domid_t)next_domid;
op.u.getdomaininfo.exec_domain = 0; // FIX ME?!?
op.u.getdomaininfo.ctxt = NULL; /* no exec context info, thanks. */
- if ( do_dom0_op(xc_handle, &op) < 0 )
+ if ( (rc = do_dom0_op(xc_handle, &op)) < 0 )
break;
info->domid = (u16)op.u.getdomaininfo.domain;
info++;
}
+ if(!nr_doms) return rc;
+
return nr_doms;
}